CRPEJob::ExportPrintWindow

Use CRPEJob::ExportPrintWindow to export the report displayed in the preview window to a disk file or e-mail address. If you are customizing preview window controls, use this method to enable the user to preview the report in the preview window, and if everything looks satisfactory, to export the report to a disk file or e-mail address (in response to a user event, such as a button click, menu command, etc.).

Syntax

BOOL ExportPrintWindow ( BOOL toMail );

Parameter

toMail

Specifies whether the report file should be exported to an e-mail address. If TRUE, the file is exported to e-mail. If FALSE, the file is exported to a disk file.

Returns


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com